package com.xymtop.Test;


import com.xymtop.Entity.Colloges;
import com.xymtop.Server.JsonParas;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName : Test
 * @Description : 测试
 * @Author : 肖叶茂
 * @Date: 2022/12/12  19:13
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
//        StuService stuService = new StuService();
//        System.out.println(stuService.login("20202501525","123456"));
//        Class c = Class.forName("com.xymtop.Vo.StuVo");
//        ClassUtil.getPackageAllClassName(Stu.class.getCanonicalName(),Stu.class.getPackage().getName());
        List<Colloges> colloges = new ArrayList<>();
        Colloges colloge = new Colloges();
        colloge.setCode("1");
        colloge.setDetail("1");
        colloge.setId("1");
        colloge.setName("1");
        colloges.add(colloge);
        colloges.add(colloge);

//        System.out.println(colloges.getClass().getCanonicalName());
        String str = "";
        for(Colloges colloges1:colloges){
            str += JsonParas.object2JsonString(colloges1);
        }
        System.out.println(str);
    }
}
